/*
 *    Copyright (c) 2018-2025, boss All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the boss developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: boss
 */

package com.hopes.bizz.risk.hid.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.hopes.boss.common.entity.BaseLogicEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 隐患检查任务
 *
 * @author pig
 * @date 2023-07-25 17:24:15
 */
@Data
@TableName("risk_hid_check_task")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "隐患检查任务")
public class RiskHidCheckTaskEntity extends BaseLogicEntity {

    private static final long serialVersionUID = 1L;

	/**
	* id
	*/
    @TableId(type = IdType.ASSIGN_ID)
    @Schema(description="id")
    private Long id;

	/**
	* 计划标识
	*/
    @Schema(description="计划标识")
    private Long planId;

	/**
	* 检查表标识
	*/
    @Schema(description="检查表标识")
    private String hidCheckListConfigId;

	/**
	* 受检对象
	*/
    @Schema(description="受检对象")
    private String checkObject;

	/**
	* 记录人
	*/
    @Schema(description="记录人")
    private Long recorder;

	/**
	* 记录人身份证
	*/
    @Schema(description="记录人身份证")
    private String recorderIdCard;

	/**
	* 检查人
	*/
    @Schema(description="检查人")
    private String checkPerson;

	/**
	* 排查单元
	*/
    @Schema(description="排查单元")
    private String riskUnitId;

	/**
	* 任务编号
	*/
    @Schema(description="任务编号")
    private String taskNo;

	/**
	* 处理人
	*/
    @Schema(description="处理人")
    private Long handleId;

	/**
	* 任务名称
	*/
    @Schema(description="任务名称")
    private String taskName;

	/**
	* 任务状态
	*/
    @Schema(description="任务状态")
    private Integer taskStatus;

	/**
	* 任务结论
	*/
    @Schema(description="任务结论")
    private Integer taskConclusion;

	/**
	* 开始时间
	*/
    @Schema(description="开始时间")
    private Date startTime;

	/**
	* 截止时间
	*/
    @Schema(description="截止时间")
    private Date deadline;

	/**
	* 符合项
	*/
    @Schema(description="符合项")
    private Integer passNum;

	/**
	* 不符合项
	*/
    @Schema(description="不符合项")
    private Integer notPassNum;

	/**
	* 检查总项
	*/
    @Schema(description="检查总项")
    private Integer totalNum;

	/**
	* 完成时间
	*/
    @Schema(description="完成时间")
    private Date finishDate;

	/**
	* 排查人签名
	*/
    @Schema(description="排查人签名")
    private String checkPersonSignature;

	/**
	* 记录人签名
	*/
    @Schema(description="记录人签名")
    private String recorderSignature;

	/**
	* 机构ID
	*/
    @Schema(description="机构ID")
    private Long orgId;
}
